from fastapi import Depends
from core.dependencies import Paging, QueryParams

class ConversationParams(QueryParams):
    """
    Pagination
    """

    def __init__(
            self,
            params: Paging = Depends(),
            session_id: str = None
    ):
        super().__init__(params)
        self.v_order = "desc"
        self.v_order_field = "create_datetime"

        self.session_id = session_id

